@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>回收站</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="col-lg-10 col-sm-9">
                            <div class="row">
                                <div class="col-lg-4 col-sm-12">
                                    <#NameCon id="condition" name="名称" placeholder="条目名称/删除者"/>
                                </div>
                                <div class="col-lg-4 col-sm-6">
                                    <#TimeCon id="beginTime" name="开始日期" isTime="false" pattern="YYYY-MM-DD"/>
                                </div>
                                <div class="col-lg-4 col-sm-6">
                                    <#TimeCon id="endTime" name="结束日期" isTime="false" pattern="YYYY-MM-DD" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-2 col-sm-3">
                            <div class="row">
                                <div class="col-lg-12 col-sm-12">
                                    <#button name="搜索" icon="fa-search" clickFun="Recycle.search()"/>
                                    <#button name="重置" icon="fa-trash" clickFun="Recycle.resetSearch()" space="true"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="hidden-xs" id="RecycleTableToolbar" role="group">
                        @if(shiro.hasPermission("/recycle/recover")){
                        <#button name="恢复条目" icon="fa-undo" clickFun="Recycle.recover()"/>
                        @}
                        @if(shiro.hasPermission("/recycle/delete")){
                        <#button name="删除条目" icon="fa-trash" clickFun="Recycle.delete()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/recycle/empty")){
                        <#button name="清空回收站" icon="fa-times" clickFun="Recycle.empty()" space="true"/>
                        @}
                    </div>
                    <#table id="RecycleTable"/>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/fileManage/recycle/recycle.js"></script>
@}